home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / OART.DLL / 3000 / 3366 < prev    next >
Extensible Markup Language  |  2006-10-27  |  10KB  |  280 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
  3. <layoutDef
  4.     xmlns="http://schemas.openxmlformats.org/drawingml/2006/diagram"
  5.     uniqueId="urn:microsoft.com/office/officeart/2005/8/layout/hProcess11">
  6.     <title val="Basic Timeline" />
  7.     <desc val="" />
  8.     <catLst>
  9.         <cat type="process" pri="8000" />
  10.         <cat type="convert" pri="14000" />
  11.     </catLst>
  12.  
  13.     <!-- style data -->
  14.     <styleData>
  15.         <dataModel>
  16.             <ptLst>
  17.                 <pt modelId="0" type="doc" />
  18.                 <pt modelId="1" type="node" />
  19.                 <pt modelId="2" type="node" />
  20.             </ptLst>
  21.             <cxnLst>
  22.                 <cxn modelId="4" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  23.                 <cxn modelId="5" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  24.             </cxnLst>
  25.         </dataModel>
  26.     </styleData>
  27.  
  28.     <!-- color data -->
  29.     <clrData>
  30.         <dataModel>
  31.             <ptLst>
  32.                 <pt modelId="0" type="doc" />
  33.                 <pt modelId="1" type="node" />
  34.                 <pt modelId="2" type="node" />
  35.                 <pt modelId="3" type="node" />
  36.                 <pt modelId="4" type="node" />
  37.             </ptLst>
  38.             <cxnLst>
  39.                 <cxn modelId="5" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  40.                 <cxn modelId="6" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  41.                 <cxn modelId="7" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  42.                 <cxn modelId="8" type="parOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="" />
  43.             </cxnLst>
  44.         </dataModel>
  45.     </clrData>
  46.  
  47.     <!-- layout node for the graphic -->
  48.     <layoutNode>
  49.         <varLst>
  50.             <dir val="norm" />
  51.             <resizeHandles val="exact" />
  52.         </varLst>
  53.         <alg type="composite" />
  54.         <shape />
  55.         <presOf />
  56.         <choose>
  57.             <!-- use these constraints if direction="norm" -->
  58.             <if func="var" arg="dir" op="equ" val="norm">
  59.                 <constrLst>
  60.                     <constr type="w" for="ch" forName="arrow" refType="w" fact="1" />
  61.                     <constr type="h" for="ch" forName="arrow" refType="h" fact="0.4" />
  62.                     <constr type="ctrY" for="ch" forName="arrow" refType="h" fact="0.5" />
  63.                     <constr type="l" for="ch" forName="arrow" val="0" />
  64.  
  65.                     <constr type="w" for="ch" forName="points" refType="w" fact="0.9" />
  66.                     <constr type="h" for="ch" forName="points" refType="h" fact="1" />
  67.                     <constr type="t" for="ch" forName="points" val="0" />
  68.                     <constr type="l" for="ch" forName="points" val="0" />
  69.                 </constrLst>
  70.             </if>
  71.  
  72.             <!-- use these constraints if direction="rev" -->
  73.             <else>
  74.                 <constrLst>
  75.                     <constr type="w" for="ch" forName="arrow" refType="w" fact="1" />
  76.                     <constr type="h" for="ch" forName="arrow" refType="h" fact="0.4" />
  77.                     <constr type="ctrY" for="ch" forName="arrow" refType="h" fact="0.5" />
  78.                     <constr type="r" for="ch" forName="arrow" refType="w" fact="1" />
  79.  
  80.                     <constr type="w" for="ch" forName="points" refType="w" fact="0.9" />
  81.                     <constr type="h" for="ch" forName="points" refType="h" fact="1" />
  82.                     <constr type="t" for="ch" forName="points" val="0" />
  83.                     <constr type="r" for="ch" forName="points" refType="w" fact="1" />
  84.                 </constrLst>
  85.             </else>
  86.         </choose>
  87.         <ruleLst />
  88.  
  89.         <layoutNode name="arrow" styleLbl="bgShp">
  90.             <alg type="sp" />
  91.             <choose>
  92.                 <if func="var" arg="dir" op="equ" val="norm">
  93.                     <shape type="notchedRightArrow" rot="0" />
  94.                 </if>
  95.                 <else>
  96.                     <shape type="notchedRightArrow" rot="180" />
  97.                 </else>
  98.             </choose>
  99.             <presOf />
  100.             <constrLst />
  101.             <ruleLst />
  102.         </layoutNode>
  103.  
  104.         <layoutNode name="points">
  105.             <choose>
  106.                 <if func="var" arg="dir" op="equ" val="norm">
  107.                     <alg type="lin">
  108.                         <param type="linDir" val="fromL" />
  109.                     </alg>
  110.                 </if>
  111.                 <else>
  112.                     <alg type="lin">
  113.                         <param type="linDir" val="fromR" />
  114.                     </alg>
  115.                 </else>
  116.             </choose>
  117.             <shape />
  118.             <presOf />
  119.             <constrLst>
  120.                 <constr type="w" for="ch" forName="compositeA" refType="w" />
  121.                 <constr type="h" for="ch" forName="compositeA" refType="h" />
  122.  
  123.                 <constr op="equ" type="w" for="ch" forName="compositeB" refType="w" refFor="ch" refForName="compositeA" />
  124.                 <constr op="equ" type="h" for="ch" forName="compositeB" refType="h" refFor="ch" refForName="compositeA" />
  125.  
  126.                 <constr op="equ" type="primFontSz" for="des" ptType="node" val="65" />
  127.  
  128.                 <constr op="equ" type="w" for="ch" forName="space" refType="w" refFor="ch" refForName="compositeA" fact="0.05" />
  129.             </constrLst>
  130.             <ruleLst />
  131.  
  132.             <forEach axis="ch" ptType="node">
  133.  
  134.                 <choose>
  135.                     <!-- use this layout node if context node's position is odd-->
  136.                     <if axis="self" ptType="node" func="posOdd" op="equ" val="1">
  137.                         <layoutNode name="compositeA">
  138.                             <alg type="composite" />
  139.                             <shape />
  140.                             <presOf />
  141.                             <constrLst>
  142.                                 <constr type="w" for="ch" forName="textA" refType="w" fact="1" />
  143.                                 <constr type="h" for="ch" forName="textA" refType="h" fact="0.4" />
  144.                                 <constr type="t" for="ch" forName="textA" val="0" />
  145.                                 <constr type="l" for="ch" forName="textA" val="0" />
  146.  
  147.                                 <constr type="h" for="ch" forName="circleA" refType="h" fact="0.1" />
  148.                                 <constr op="lte" type="h" for="ch" forName="circleA" refType="w" fact="1" />
  149.                                 <constr op="equ" type="w" for="ch" forName="circleA" refType="h" refFor="ch" refForName="circleA" fact="1" />
  150.                                 <constr type="ctrY" for="ch" forName="circleA" refType="h" fact="0.5" />
  151.                                 <constr type="ctrX" for="ch" forName="circleA" refType="w" refFor="ch" refForName="textA" fact="0.5" />
  152.  
  153.                                 <constr type="w" for="ch" forName="spaceA" refType="w" fact="1" />
  154.                                 <constr type="h" for="ch" forName="spaceA" refType="h" fact="0.4" />
  155.                                 <constr type="b" for="ch" forName="spaceA" refType="h" fact="1" />
  156.                                 <constr type="l" for="ch" forName="spaceA" val="0" />
  157.                             </constrLst>
  158.                             <ruleLst />
  159.  
  160.                             <!-- text shape for odd number nodes -->
  161.                             <layoutNode name="textA" styleLbl="revTx" >
  162.                                 <varLst>
  163.                                     <bulletEnabled val="true" />
  164.                                 </varLst>
  165.                                 <alg type="tx">
  166.                                     <param type="txAnchorVert" val="b" />
  167.                                     <param type="txAnchorVertCh" val="b" />
  168.                                     <param type="txAnchorHorzCh" val="ctr" />
  169.                                 </alg>
  170.                                 <shape type="rect" />
  171.                                 <presOf axis="desOrSelf" ptType="node" />
  172.                                 <constrLst />
  173.                                 <ruleLst>
  174.                                     <rule type="primFontSz" val="5" />
  175.                                 </ruleLst>
  176.                             </layoutNode>
  177.  
  178.                             <!-- circle shape for odd number nodes -->
  179.                             <layoutNode name="circleA">
  180.                                 <alg type="sp" />
  181.                                 <shape type="ellipse" />
  182.                                 <presOf />
  183.                                 <constrLst />
  184.                                 <ruleLst />
  185.                             </layoutNode>
  186.  
  187.                             <!-- space node to maintain alignment -->
  188.                             <layoutNode name="spaceA">
  189.                                 <alg type="sp" />
  190.                                 <shape />
  191.                                 <presOf />
  192.                                 <constrLst />
  193.                                 <ruleLst />
  194.                             </layoutNode>
  195.  
  196.                         </layoutNode>
  197.                     </if>
  198.  
  199.                     <!-- use this layout node if context node's position is even -->
  200.                     <else>
  201.                         <!-- composite shape for even number nodes -->
  202.                         <layoutNode name="compositeB">
  203.                             <alg type="composite" />
  204.                             <shape />
  205.                             <presOf />
  206.                             <constrLst>
  207.                                 <constr type="w" for="ch" forName="textB" refType="w" fact="1" />
  208.                                 <constr type="h" for="ch" forName="textB" refType="h" fact="0.4" />
  209.                                 <constr type="b" for="ch" forName="textB" refType="h" fact="1" />
  210.                                 <constr type="l" for="ch" forName="textB" val="0" />
  211.  
  212.                                 <constr type="h" for="ch" forName="circleB" refType="h" fact="0.1" />
  213.                                 <constr op="equ" type="w" for="ch" forName="circleB" refType="h" refFor="ch" refForName="circleB" fact="1" />
  214.                                 <constr op="lte" type="h" for="ch" forName="circleB" refType="w" fact="1" />
  215.                                 <constr type="ctrY" for="ch" forName="circleB" refType="h" fact="0.5" />
  216.                                 <constr type="ctrX" for="ch" forName="circleB" refType="w" refFor="ch" refForName="textB" fact="0.5" />
  217.  
  218.                                 <constr type="w" for="ch" forName="spaceB" refType="w" fact="1" />
  219.                                 <constr type="h" for="ch" forName="spaceB" refType="h" fact="0.4" />
  220.                                 <constr type="t" for="ch" forName="spaceB" val="0" />
  221.                                 <constr type="l" for="ch" forName="spaceB" val="0" />
  222.                             </constrLst>
  223.                             <ruleLst />
  224.  
  225.                             <!-- text shape for even number nodes, positioned below arrow -->
  226.                             <layoutNode name="textB" styleLbl="revTx" >
  227.                                 <varLst>
  228.                                     <bulletEnabled val="true" />
  229.                                 </varLst>
  230.                                 <alg type="tx">
  231.                                     <param type="txAnchorVert" val="t" />
  232.                                     <param type="txAnchorVertCh" val="t" />
  233.                                     <param type="txAnchorHorzCh" val="ctr" />
  234.                                 </alg>
  235.                                 <shape type="rect" />
  236.                                 <presOf axis="desOrSelf" ptType="node" />
  237.                                 <constrLst />
  238.                                 <ruleLst>
  239.                                     <rule type="primFontSz" val="5" />
  240.                                 </ruleLst>
  241.                             </layoutNode>
  242.  
  243.                             <!-- circle shape for even number nodes -->
  244.                             <layoutNode name="circleB">
  245.                                 <alg type="sp" />
  246.                                 <shape type="ellipse" />
  247.                                 <presOf />
  248.                                 <constrLst />
  249.                                 <ruleLst />
  250.                             </layoutNode>
  251.  
  252.                             <!-- space node to maintain alignment -->
  253.                             <layoutNode name="spaceB">
  254.                                 <alg type="sp" />
  255.                                 <shape />
  256.                                 <presOf />
  257.                                 <constrLst />
  258.                                 <ruleLst />
  259.                             </layoutNode>
  260.  
  261.                         </layoutNode>
  262.                     </else>
  263.                 </choose>
  264.  
  265.                 <forEach axis="followSib" ptType="sibTrans" cnt="1">
  266.  
  267.                     <!-- space between nodes -->
  268.                     <layoutNode name="space">
  269.                         <alg type="sp" />
  270.                         <shape />
  271.                         <presOf />
  272.                         <constrLst />
  273.                         <ruleLst />
  274.                     </layoutNode>
  275.                 </forEach>
  276.  
  277.             </forEach>
  278.         </layoutNode>
  279.     </layoutNode>
  280. </layoutDef>